﻿#pragma once

#include "Object/Object.h"
#include "EditorNotificationItemViewModel.m.h"

class REditorNotificationItemModel;

//一条通知
RCLASS()
class REditorNotificationItemViewModel : public RObject
{
    ROBJECT

public:
    virtual void BindModel(TSharedObjectPtr<REditorNotificationItemModel> InModel);

    virtual float GetHeight() const;

    //移除本条通知
    void Remove();
protected:
    TWeakObjectPtr<REditorNotificationItemModel> BaseModel;

};